package com.example.entity.dto.pc;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "查看物料状况Dto")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class MaterialStatusDto {

    @ApiModelProperty(value = "读取当前日期表格中的数据 没有默认就传零", required = true)
    @JsonProperty("SL")  // 指定属性在 JSON 中的名称
    private Double SL;
    @ApiModelProperty(value = "工单别", required = true)
    @JsonProperty("DB")
    private String DB;
    @ApiModelProperty(value = "工单号", required = true)
    @JsonProperty("DH")
    private String DH;
    @ApiModelProperty(value = "工艺", required = true)
    @JsonProperty("GY")
    private String GY;

    @ApiModelProperty(value = "日期（查询条件中的排机日期）", required = true)
    @JsonProperty("date")
    private String date;

}
